package Backend

import (
	"hello/controllers/Base"
	"hello/wl"
)

type UtilsController struct {
	Base.BaseController
}

func (this *UtilsController)AjaxCount()  {
	redis:=wl.WLRedis()
	//count,_:=redis.Get("ajax_count").Result()
	count,_:=redis.PFCount("blog:api:ip:total").Result()
	this.AjaxSuccess(count)
}